#include <iostream>
#include <sys/types.h>
#include <vector>
using namespace std;

int main() {
    int n;
    cin>>n;
    
    int left=1,right=n;
    while(left<=right)
    {
        if(left!=right)
            cout<<left<<' '<<right<<' ';
        else
            cout<<left;
        left++,right--;
    }
    return 0;
}
